If-Else
Activity Description
Executes one activity branch or another, according to a different activity's value or a system variable's value (e.g., Executes "Make Call" activity when a service fails to restart or continues regularly when restart attempts succeed). After an If-Else branch, the settings within the If-Else branch itself will show what the expected value of the If-Else branch will be. To add a branch to If-Else, click on the three dots in the root If-Else block and then click Add Branch.
Settings
- Default Branch – When none of the If-Else branch conditions apply, the one set as the default branch is selected (by default, the right branch is selected as the default branch).
- Type (Predefined/User Defined):
- Predefined: predefined values that the activity might hold. Optional predefined values are: True, False, Success, Failure, Response, No Response.
- User Defined: any value (e.g., textual, numeric) that the activity might hold. To use this option, select a condition type (and an operator) and type in the value it relates to. Optional operators are, for example: equals, contains.
- Condition Type – When selecting a User Defined Type, select the condition type from the combo box.
- Value – When selecting a Predefined Type, select the value from the combo box. For a User Defined Type, type it.
- Use Alternate Setting – Determines whether to use an alternate setting, if required.